﻿using Magicodes.ExporterAndImporter.Core.Models;
using NP.BPMReportPlatform.IC.ICZHYLS.Dto;
using NP.BPMReportPlatform.SeminarManage.Dtos;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.SeminarManage
{
    /// <summary>
    /// 推广会
    /// </summary>
    public interface ISeminarManageService : IApplicationService
    {
        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<SeminarManageOutput>> GetAllAsync(SeminarManageInput input);

        /// <summary>
        /// 导出报表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<MemoryStream> Export1Async(SeminarManageInput input);

        /// <summary>
        /// 查询区域生态伙伴年度合作共识会
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<AreaSeminarManageOutput>> GetAreaAllAsync(SeminarManageInput input);

        /// <summary>
        /// 查询区域生态伙伴年度合作共识会 导出
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<List<AreaSeminarManageOutput>> AreaExport(SeminarManageInput input);

        /// <summary>
        /// 2024年一般推广会
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<SeminarManageFor2024Output>> GetAllAsyncFor2024(SeminarManageInput input);

        /// <summary>
        /// 导出一般推广会2024年数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<MemoryStream> ExportFor2024Async(SeminarManageInput input);

        /// <summary>
        /// 作废单据
        /// </summary>
        /// <param name="number"></param>
        /// <returns></returns>
        Task<bool> Cancel(string number);
    }
}
